package com.guigu.www.mapper;

import com.guigu.www.pojo.Question;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author DengHao
 * @since 2021-10-21
 */
public interface QuestionMapper extends BaseMapper<Question> {
/*陈显科  查询问卷表*/
    @Select("SELECT * FROM question WHERE ques_test_type=#{rid} AND ques_state='0'")
    Question SelectQue(@Param("rid") int rid);
}
